<template>
  <div id="app">
    <router-view>
    </router-view>
  </div>
</template>
<script>
export default {
  data () {
    return {
      str: 'helloWord',
    }
  },
  methods: {
  },
  mounted () {
    //引入外部脚本
    (function getIntnetIP () {
      var JSONP = document.createElement("script");
      JSONP.type = "text/javascript";
      JSONP.src = "http://pv.sohu.com/cityjson?ie=utf-8";
      document.getElementsByTagName("head")[0].appendChild(JSONP);
    }())
    this.$globalChange.changeIcon('user')
    this.$globalChange.changeTitle('贾坤朋的主页')
  },
}
</script>
<style lang="less">
@import "~@/assets/iconfont/iconfont.css";
* {
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  // user-select: none;
}
#app {
  width: 100%;
  height: 100%;
  .home {
    width: 100%;
    height: 100%;
  }
}
</style>
